package com.lmqb.dao;

import java.math.BigDecimal;
import java.util.List;

import com.lmqb.bean.JCheckArtificial;
import com.lmqb.entry.DataCheck;
import com.lmqb.page.CreditCheckPager;

public interface JCheckArtificialMapper {
    int deleteByPrimaryKey(Integer recId);

    int insert(JCheckArtificial record);

    int insertSelective(JCheckArtificial record);

   JCheckArtificial selectByPrimaryKey(Integer recId);

    int updateByPrimaryKeySelective(JCheckArtificial record);

    int updateByPrimaryKey(JCheckArtificial record);

	List<JCheckArtificial> selectByLoanNo(String loanNo);

	JCheckArtificial selectMax(JCheckArtificial check);

	Integer selectMaxOne(Integer userId);

	List<JCheckArtificial> selectByRecord(JCheckArtificial select);

	List<JCheckArtificial> selectAllByType(CreditCheckPager pagerModel);

	int selectCount(CreditCheckPager pagerModel);

	List<JCheckArtificial> selectAll();

	List<JCheckArtificial> selectByCheckNo(String checkNo);

	List<JCheckArtificial> selectByArtifs(JCheckArtificial artificial);

	Integer selectApplyNum(DataCheck dataCheck);

	BigDecimal selectSumCredit(DataCheck dataCheck);
}